/**
 * cn.ucox.web.framework.servlet.WechatServlet
 *
 * @author chenw
 * @create 16/2/4.09:12
 * @email javacspring@hotmail.com
 */

package cn.com.oceansoft.framework.servlet;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 自定义Servlet(微信)
 *
 * @author chenw
 * @create 16/2/4 09:12
 * @email javacspring@gmail.com
 */
public class WechatServlet extends HttpServlet {

    private static final long serialVersionUID = 42L;

    private final Logger logger = LoggerFactory.getLogger(getClass());

    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        logger.info("WechatServlet#doGet");
    }

    @Override
    protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        logger.info("WechatServlet#doPost");
    }
}
